package com.zzyl.nursing.job;

import com.zzyl.nursing.service.IAlertHandleService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Slf4j
@Component("alertJob")
public class AlertJob {
    @Autowired
    private IAlertHandleService alertHandleService;
    /**
     * 定时任务
     */
    public void deviceDataAlertFilter() {
        log.info("定时任务已经执行。。。。");
        alertHandleService.alertFilter();
    }
}
